<?php /* Smarty version 2.6.10, created on 2011-07-18 18:04:16
         compiled from header.tpl */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title><?php echo $this->_tpl_vars['lang']['title']; ?>
</title>
<meta name="keywords" content="iweb mall" />
<meta name="description" content="iweb mall" />
<base href="<?php echo $this->_tpl_vars['webdomain']; ?>
">
<link href="skin/default/css/index.css" rel="stylesheet" type="text/css" />
<link href="skin/default/css/import.css" type="text/css" rel="stylesheet" />
<link href="skin/default/css/parts.css" type="text/css" rel="stylesheet" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<script type="text/javascript" src="skin/default/js/changeStyle.js"></script>
<script src="skin/default/js/slide.js" type="text/javascript"></script>

</head>
<body>
<div id="wrapper">
<div id="header" class="clearfix">
    <div class="site_nav clearfix">
      <p class="login_info"><span><?php echo $this->_tpl_vars['lang']['welcome']; ?>
</span>
      <?php if ($_SESSION['user']): ?>
        <?php echo $_SESSION['user']['username']; ?>
 <a href="logout.php"><?php echo $this->_tpl_vars['lang']['logout']; ?>
</a>
      <?php else: ?>
      <a href="index.php/login"><?php echo $this->_tpl_vars['lang']['login']; ?>
</a>&nbsp;|&nbsp;<a href="index.php/register"><?php echo $this->_tpl_vars['lang']['register']; ?>
</a>
      <?php endif; ?>
      </p>
      <p class="quick_menu">
        <a href="index.php"><?php echo $this->_tpl_vars['lang']['homepage']; ?>
</a><a href="index.php/user"><?php echo $this->_tpl_vars['lang']['usercenter']; ?>
</a>

        <a class="shop_cart" href="index.php/cart"><?php echo $this->_tpl_vars['lang']['cart']; ?>
</a>
        &nbsp;&nbsp;
		<?php $_from = $this->_tpl_vars['language']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['language']):
?>
		<a href="lang.php?lang=<?php echo $this->_tpl_vars['key']; ?>
"><?php echo $this->_tpl_vars['language']; ?>
</a>
		<?php endforeach; endif; unset($_from); ?>
      </p>
	 
    </div>
    <div class="topMain clearfix">
      <h1 id="logo">
  		  			<a href="index.php"><img src="skin/default/images/img_logo.gif" title="" alt="iweb Mall" /></a>
  		      </h1>

      <form action="index.php/search" method="POST" id="search_form" >
      <div class="search_panel clearfix">
    	<p class="search_sel" onclick="setShow('sel_content');setOnShowPara('sel_content');">
			    			<input class="sel_value" id="sel_value" value="<?php echo $this->_tpl_vars['lang']['search_goods']; ?>
" name="search_type" type="text" />
			    	</p>
    	        <p class="search_txt"><input name="k" type="text" onblur="inputTxt(this,'set');" onfocus="inputTxt(this,'clean');" value="<?php echo $this->_tpl_vars['lang']['search_tips']; ?>
" /></p>
              
        <p class="search_btn"><input type="submit" value="" /></p>
        <div id="sel_content" class="sel_list" style="display:none">
        	<ul><li onclick="document.getElementById('sel_value').value ='goods'" onmouseover="this.className = 'li_hover'" onmouseout="this.className = ''"><?php echo $this->_tpl_vars['lang']['search_goods']; ?>
</li><li onclick="document.getElementById('sel_value').value ='seller'" onmouseover="this.className = 'li_hover'" onmouseout="this.className = ''"><?php echo $this->_tpl_vars['lang']['search_seller']; ?>
</li></ul>

        </div>
      </div>
      </form>
    </div>
</div>